﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class BDevice
    {
        private readonly DDevice _dDevice = new DDevice();

        public bool Exists(string emi)
        {
            return _dDevice.Exists(emi);
        }
         
        public bool Add(Model.DeviceInfo model)
        {
            return _dDevice.Add(model);
        }
         
        public bool Update(Model.DeviceInfo model)
        {
            return _dDevice.Update(model);
        }

        public DataSet GetList(string strWhere)
        {
            return _dDevice.GetList(strWhere);
        }
    }
}
